﻿// ----------------------------------------------------------------------
// <author name="Moses Kehengu"/>
// <copyright file="ListItem.cs" company="Futures Group International">
//     Copyright statement. All right reserved
// </copyright>
//
// ------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;

namespace GenericTools
{
    public class ListItem
    {
        #region Class Variables
        private string text;
        private object value;
        #endregion

        #region Public Properties
        public object Value
        {
            get
            {
                return value;
            }
            set
            {
                this.value = value;
            }
        }

        public string Text
        {
            get
            {
                return this.text;
            }
            set
            {
                this.text = value;
            }
        }
        #endregion

        public override string  ToString()
        {
 	         return this.text;
        }
    }

    public class ListItemCollection : List<ListItem>
    {
    }
}
